<?php

/**
 * PluginGfGroup form.
 *
 * @package    ##PROJECT_NAME##
 * @subpackage form
 * @author     ##AUTHOR_NAME##
 * @version    SVN: $Id: sfDoctrineFormPluginTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
abstract class PluginGfGroupForm extends BaseGfGroupForm {

	public function setup() {
		parent::setup();
		unset(
			$this['created_at'], $this['updated_at']
		);

		$this->validatorSchema['name'] = new sfValidatorString(array('max_length' => 255, 'required' => true), array('required' => 'The *name* field is required.'));
		$this->validatorSchema['description'] = new sfValidatorString(array('max_length' => 255, 'required' => true), array('required' => 'The *description* field is required.'));
	}
}
